/* 通用 */
* {
  transition: all 0.3s;
}
/* 主窗口 */
.jsb-window {
  position: fixed;
  z-index: 2147483647;
  top: 100px;
  right: -40px;
  width: 60px;
  height: auto;
}
.jsb-window:hover {
  right: 0;
}
.jsb-window:hover .jsb-btn,
.jsb-window:hover .function-btn {
  opacity: 1;
}
.jsb-window:hover .jsb-btn:hover,
.jsb-window:hover .function-btn:hover {
  transform: rotate(360deg);
}
.jsb-window:hover .function-btn {
  width: 35px;
  height: 35px;
  margin-top: 5px;
}
/* 主按钮 */
.jsb-btn {
  width: 50px;
  height: 50px;
  margin: auto;
  margin-bottom: 5px;
  border: 3px solid #9c9c9c;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  opacity: 0.5;
  background-size: contain !important;
}
/* 功能按钮 */
.function-btn {
  width: 0px;
  height: 0px;
  margin: auto;
  margin-top: -15px;
  border: 2px solid #9c9c9c;
  border-radius: 35px;
  cursor: pointer;
  outline: none;
  opacity: 0;
  background-size: contain !important;
}
/* 元素启用状态 */
.state-enabled {
  border-color: #14c814;
}
/* 元素关闭状态 */
.state-disabled {
  border-color: #9c9c9c;
  filter: grayscale(100%);
}
/* 元素半启用状态 */
.state-half-enabled {
  border-color: #ff85ad;
}
